package com.jinmdz.fmis.api.api.model.funeral.agreement;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 服务协议费用信息
 *
 * @author LiCongLu
 * @date 2020-04-10 10:28
 */
@ApiModel(value = "服务协议费用信息", description = "服务协议费用信息")
public class ServiceAgreementChargeItem extends BaseBean {
    /**
     * 服务项目外键
     */
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 1)
    @JsonIgnore
    private Integer serviceItemId;

    /**
     * 服务项目费用名称
     */
    @ApiModelProperty(value = "服务项目费用名称", name = "itemName", position = 2)
    private String itemName;

    /**
     * 项目金额
     */
    @ApiModelProperty(value = "项目金额", name = "itemCharge", position = 3)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemCharge;

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServiceAgreementChargeItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public ServiceAgreementChargeItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public BigDecimal getItemCharge() {
        return itemCharge;
    }

    public ServiceAgreementChargeItem setItemCharge(BigDecimal itemCharge) {
        this.itemCharge = itemCharge;
        return this;
    }
}
